package com.travel.service;

import com.qianfeng.util.ResultMsg;
import com.travel.entity.TbHome;

public interface HomeService {
    ResultMsg getByHomeid(int homeId);

    ResultMsg getAllByHotelId(int hotelId);

    ResultMsg getAllByHotelid(int hotelId, String homeType);

    ResultMsg getOneByHotelId(int hotelId);

    ResultMsg getAllByHotelIdPage(Integer hotelId, Integer current, Integer size);

    ResultMsg insertOne(TbHome home);

    ResultMsg updateOne(TbHome home);

    ResultMsg deleteOne(Integer homeId);

    ResultMsg getAllByHotelType(String homeType);
}
